package com.xingkeduo.model.example;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TMarketingReceiveHistoryCardExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TMarketingReceiveHistoryCardExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMarketingIdIsNull() {
            addCriterion("marketing_id is null");
            return (Criteria) this;
        }

        public Criteria andMarketingIdIsNotNull() {
            addCriterion("marketing_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingIdEqualTo(Long value) {
            addCriterion("marketing_id =", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdNotEqualTo(Long value) {
            addCriterion("marketing_id <>", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdGreaterThan(Long value) {
            addCriterion("marketing_id >", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdGreaterThanOrEqualTo(Long value) {
            addCriterion("marketing_id >=", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdLessThan(Long value) {
            addCriterion("marketing_id <", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdLessThanOrEqualTo(Long value) {
            addCriterion("marketing_id <=", value, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdIn(List<Long> values) {
            addCriterion("marketing_id in", values, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdNotIn(List<Long> values) {
            addCriterion("marketing_id not in", values, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdBetween(Long value1, Long value2) {
            addCriterion("marketing_id between", value1, value2, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingIdNotBetween(Long value1, Long value2) {
            addCriterion("marketing_id not between", value1, value2, "marketingId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdIsNull() {
            addCriterion("marketing_bag_id is null");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdIsNotNull() {
            addCriterion("marketing_bag_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdEqualTo(Long value) {
            addCriterion("marketing_bag_id =", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdNotEqualTo(Long value) {
            addCriterion("marketing_bag_id <>", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdGreaterThan(Long value) {
            addCriterion("marketing_bag_id >", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdGreaterThanOrEqualTo(Long value) {
            addCriterion("marketing_bag_id >=", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdLessThan(Long value) {
            addCriterion("marketing_bag_id <", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdLessThanOrEqualTo(Long value) {
            addCriterion("marketing_bag_id <=", value, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdIn(List<Long> values) {
            addCriterion("marketing_bag_id in", values, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdNotIn(List<Long> values) {
            addCriterion("marketing_bag_id not in", values, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdBetween(Long value1, Long value2) {
            addCriterion("marketing_bag_id between", value1, value2, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagIdNotBetween(Long value1, Long value2) {
            addCriterion("marketing_bag_id not between", value1, value2, "marketingBagId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdIsNull() {
            addCriterion("marketing_bag_receive_history_id is null");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdIsNotNull() {
            addCriterion("marketing_bag_receive_history_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdEqualTo(Long value) {
            addCriterion("marketing_bag_receive_history_id =", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdNotEqualTo(Long value) {
            addCriterion("marketing_bag_receive_history_id <>", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdGreaterThan(Long value) {
            addCriterion("marketing_bag_receive_history_id >", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdGreaterThanOrEqualTo(Long value) {
            addCriterion("marketing_bag_receive_history_id >=", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdLessThan(Long value) {
            addCriterion("marketing_bag_receive_history_id <", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdLessThanOrEqualTo(Long value) {
            addCriterion("marketing_bag_receive_history_id <=", value, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdIn(List<Long> values) {
            addCriterion("marketing_bag_receive_history_id in", values, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdNotIn(List<Long> values) {
            addCriterion("marketing_bag_receive_history_id not in", values, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdBetween(Long value1, Long value2) {
            addCriterion("marketing_bag_receive_history_id between", value1, value2, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andMarketingBagReceiveHistoryIdNotBetween(Long value1, Long value2) {
            addCriterion("marketing_bag_receive_history_id not between", value1, value2, "marketingBagReceiveHistoryId");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeIsNull() {
            addCriterion("redeem_code is null");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeIsNotNull() {
            addCriterion("redeem_code is not null");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeEqualTo(String value) {
            addCriterion("redeem_code =", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeNotEqualTo(String value) {
            addCriterion("redeem_code <>", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeGreaterThan(String value) {
            addCriterion("redeem_code >", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeGreaterThanOrEqualTo(String value) {
            addCriterion("redeem_code >=", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeLessThan(String value) {
            addCriterion("redeem_code <", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeLessThanOrEqualTo(String value) {
            addCriterion("redeem_code <=", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeLike(String value) {
            addCriterion("redeem_code like", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeNotLike(String value) {
            addCriterion("redeem_code not like", value, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeIn(List<String> values) {
            addCriterion("redeem_code in", values, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeNotIn(List<String> values) {
            addCriterion("redeem_code not in", values, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeBetween(String value1, String value2) {
            addCriterion("redeem_code between", value1, value2, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andRedeemCodeNotBetween(String value1, String value2) {
            addCriterion("redeem_code not between", value1, value2, "redeemCode");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIsNull() {
            addCriterion("receive_no is null");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIsNotNull() {
            addCriterion("receive_no is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveNoEqualTo(String value) {
            addCriterion("receive_no =", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotEqualTo(String value) {
            addCriterion("receive_no <>", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoGreaterThan(String value) {
            addCriterion("receive_no >", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoGreaterThanOrEqualTo(String value) {
            addCriterion("receive_no >=", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLessThan(String value) {
            addCriterion("receive_no <", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLessThanOrEqualTo(String value) {
            addCriterion("receive_no <=", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLike(String value) {
            addCriterion("receive_no like", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotLike(String value) {
            addCriterion("receive_no not like", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIn(List<String> values) {
            addCriterion("receive_no in", values, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotIn(List<String> values) {
            addCriterion("receive_no not in", values, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoBetween(String value1, String value2) {
            addCriterion("receive_no between", value1, value2, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotBetween(String value1, String value2) {
            addCriterion("receive_no not between", value1, value2, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIsNull() {
            addCriterion("marketing_type is null");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIsNotNull() {
            addCriterion("marketing_type is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeEqualTo(Integer value) {
            addCriterion("marketing_type =", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotEqualTo(Integer value) {
            addCriterion("marketing_type <>", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeGreaterThan(Integer value) {
            addCriterion("marketing_type >", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("marketing_type >=", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeLessThan(Integer value) {
            addCriterion("marketing_type <", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeLessThanOrEqualTo(Integer value) {
            addCriterion("marketing_type <=", value, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeIn(List<Integer> values) {
            addCriterion("marketing_type in", values, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotIn(List<Integer> values) {
            addCriterion("marketing_type not in", values, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeBetween(Integer value1, Integer value2) {
            addCriterion("marketing_type between", value1, value2, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("marketing_type not between", value1, value2, "marketingType");
            return (Criteria) this;
        }

        public Criteria andMarketingNameIsNull() {
            addCriterion("marketing_name is null");
            return (Criteria) this;
        }

        public Criteria andMarketingNameIsNotNull() {
            addCriterion("marketing_name is not null");
            return (Criteria) this;
        }

        public Criteria andMarketingNameEqualTo(String value) {
            addCriterion("marketing_name =", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameNotEqualTo(String value) {
            addCriterion("marketing_name <>", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameGreaterThan(String value) {
            addCriterion("marketing_name >", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameGreaterThanOrEqualTo(String value) {
            addCriterion("marketing_name >=", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameLessThan(String value) {
            addCriterion("marketing_name <", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameLessThanOrEqualTo(String value) {
            addCriterion("marketing_name <=", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameLike(String value) {
            addCriterion("marketing_name like", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameNotLike(String value) {
            addCriterion("marketing_name not like", value, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameIn(List<String> values) {
            addCriterion("marketing_name in", values, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameNotIn(List<String> values) {
            addCriterion("marketing_name not in", values, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameBetween(String value1, String value2) {
            addCriterion("marketing_name between", value1, value2, "marketingName");
            return (Criteria) this;
        }

        public Criteria andMarketingNameNotBetween(String value1, String value2) {
            addCriterion("marketing_name not between", value1, value2, "marketingName");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdIsNull() {
            addCriterion("from_wechat_id is null");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdIsNotNull() {
            addCriterion("from_wechat_id is not null");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdEqualTo(Integer value) {
            addCriterion("from_wechat_id =", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdNotEqualTo(Integer value) {
            addCriterion("from_wechat_id <>", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdGreaterThan(Integer value) {
            addCriterion("from_wechat_id >", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("from_wechat_id >=", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdLessThan(Integer value) {
            addCriterion("from_wechat_id <", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdLessThanOrEqualTo(Integer value) {
            addCriterion("from_wechat_id <=", value, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdIn(List<Integer> values) {
            addCriterion("from_wechat_id in", values, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdNotIn(List<Integer> values) {
            addCriterion("from_wechat_id not in", values, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdBetween(Integer value1, Integer value2) {
            addCriterion("from_wechat_id between", value1, value2, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andFromWechatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("from_wechat_id not between", value1, value2, "fromWechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdIsNull() {
            addCriterion("wechat_id is null");
            return (Criteria) this;
        }

        public Criteria andWechatIdIsNotNull() {
            addCriterion("wechat_id is not null");
            return (Criteria) this;
        }

        public Criteria andWechatIdEqualTo(Integer value) {
            addCriterion("wechat_id =", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdNotEqualTo(Integer value) {
            addCriterion("wechat_id <>", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdGreaterThan(Integer value) {
            addCriterion("wechat_id >", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("wechat_id >=", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdLessThan(Integer value) {
            addCriterion("wechat_id <", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdLessThanOrEqualTo(Integer value) {
            addCriterion("wechat_id <=", value, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdIn(List<Integer> values) {
            addCriterion("wechat_id in", values, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdNotIn(List<Integer> values) {
            addCriterion("wechat_id not in", values, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdBetween(Integer value1, Integer value2) {
            addCriterion("wechat_id between", value1, value2, "wechatId");
            return (Criteria) this;
        }

        public Criteria andWechatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("wechat_id not between", value1, value2, "wechatId");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNull() {
            addCriterion("service_type is null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNotNull() {
            addCriterion("service_type is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeEqualTo(String value) {
            addCriterion("service_type =", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotEqualTo(String value) {
            addCriterion("service_type <>", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThan(String value) {
            addCriterion("service_type >", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("service_type >=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThan(String value) {
            addCriterion("service_type <", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanOrEqualTo(String value) {
            addCriterion("service_type <=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLike(String value) {
            addCriterion("service_type like", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotLike(String value) {
            addCriterion("service_type not like", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIn(List<String> values) {
            addCriterion("service_type in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotIn(List<String> values) {
            addCriterion("service_type not in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeBetween(String value1, String value2) {
            addCriterion("service_type between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotBetween(String value1, String value2) {
            addCriterion("service_type not between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andLeastCostIsNull() {
            addCriterion("least_cost is null");
            return (Criteria) this;
        }

        public Criteria andLeastCostIsNotNull() {
            addCriterion("least_cost is not null");
            return (Criteria) this;
        }

        public Criteria andLeastCostEqualTo(BigDecimal value) {
            addCriterion("least_cost =", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostNotEqualTo(BigDecimal value) {
            addCriterion("least_cost <>", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostGreaterThan(BigDecimal value) {
            addCriterion("least_cost >", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("least_cost >=", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostLessThan(BigDecimal value) {
            addCriterion("least_cost <", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("least_cost <=", value, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostIn(List<BigDecimal> values) {
            addCriterion("least_cost in", values, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostNotIn(List<BigDecimal> values) {
            addCriterion("least_cost not in", values, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("least_cost between", value1, value2, "leastCost");
            return (Criteria) this;
        }

        public Criteria andLeastCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("least_cost not between", value1, value2, "leastCost");
            return (Criteria) this;
        }

        public Criteria andCouponAmountIsNull() {
            addCriterion("coupon_amount is null");
            return (Criteria) this;
        }

        public Criteria andCouponAmountIsNotNull() {
            addCriterion("coupon_amount is not null");
            return (Criteria) this;
        }

        public Criteria andCouponAmountEqualTo(BigDecimal value) {
            addCriterion("coupon_amount =", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountNotEqualTo(BigDecimal value) {
            addCriterion("coupon_amount <>", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountGreaterThan(BigDecimal value) {
            addCriterion("coupon_amount >", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_amount >=", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountLessThan(BigDecimal value) {
            addCriterion("coupon_amount <", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_amount <=", value, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountIn(List<BigDecimal> values) {
            addCriterion("coupon_amount in", values, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountNotIn(List<BigDecimal> values) {
            addCriterion("coupon_amount not in", values, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_amount between", value1, value2, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_amount not between", value1, value2, "couponAmount");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeIsNull() {
            addCriterion("use_start_time is null");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeIsNotNull() {
            addCriterion("use_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeEqualTo(Date value) {
            addCriterion("use_start_time =", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeNotEqualTo(Date value) {
            addCriterion("use_start_time <>", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeGreaterThan(Date value) {
            addCriterion("use_start_time >", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("use_start_time >=", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeLessThan(Date value) {
            addCriterion("use_start_time <", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("use_start_time <=", value, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeIn(List<Date> values) {
            addCriterion("use_start_time in", values, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeNotIn(List<Date> values) {
            addCriterion("use_start_time not in", values, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeBetween(Date value1, Date value2) {
            addCriterion("use_start_time between", value1, value2, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("use_start_time not between", value1, value2, "useStartTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeIsNull() {
            addCriterion("use_end_time is null");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeIsNotNull() {
            addCriterion("use_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeEqualTo(Date value) {
            addCriterion("use_end_time =", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeNotEqualTo(Date value) {
            addCriterion("use_end_time <>", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeGreaterThan(Date value) {
            addCriterion("use_end_time >", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("use_end_time >=", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeLessThan(Date value) {
            addCriterion("use_end_time <", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("use_end_time <=", value, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeIn(List<Date> values) {
            addCriterion("use_end_time in", values, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeNotIn(List<Date> values) {
            addCriterion("use_end_time not in", values, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeBetween(Date value1, Date value2) {
            addCriterion("use_end_time between", value1, value2, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("use_end_time not between", value1, value2, "useEndTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeIsNull() {
            addCriterion("use_time is null");
            return (Criteria) this;
        }

        public Criteria andUseTimeIsNotNull() {
            addCriterion("use_time is not null");
            return (Criteria) this;
        }

        public Criteria andUseTimeEqualTo(Date value) {
            addCriterion("use_time =", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeNotEqualTo(Date value) {
            addCriterion("use_time <>", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeGreaterThan(Date value) {
            addCriterion("use_time >", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("use_time >=", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeLessThan(Date value) {
            addCriterion("use_time <", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeLessThanOrEqualTo(Date value) {
            addCriterion("use_time <=", value, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeIn(List<Date> values) {
            addCriterion("use_time in", values, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeNotIn(List<Date> values) {
            addCriterion("use_time not in", values, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeBetween(Date value1, Date value2) {
            addCriterion("use_time between", value1, value2, "useTime");
            return (Criteria) this;
        }

        public Criteria andUseTimeNotBetween(Date value1, Date value2) {
            addCriterion("use_time not between", value1, value2, "useTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andSendTypeIsNull() {
            addCriterion("send_type is null");
            return (Criteria) this;
        }

        public Criteria andSendTypeIsNotNull() {
            addCriterion("send_type is not null");
            return (Criteria) this;
        }

        public Criteria andSendTypeEqualTo(Integer value) {
            addCriterion("send_type =", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotEqualTo(Integer value) {
            addCriterion("send_type <>", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeGreaterThan(Integer value) {
            addCriterion("send_type >", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("send_type >=", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeLessThan(Integer value) {
            addCriterion("send_type <", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeLessThanOrEqualTo(Integer value) {
            addCriterion("send_type <=", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeIn(List<Integer> values) {
            addCriterion("send_type in", values, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotIn(List<Integer> values) {
            addCriterion("send_type not in", values, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeBetween(Integer value1, Integer value2) {
            addCriterion("send_type between", value1, value2, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("send_type not between", value1, value2, "sendType");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Long value) {
            addCriterion("store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Long value) {
            addCriterion("store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Long value) {
            addCriterion("store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Long value) {
            addCriterion("store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Long> values) {
            addCriterion("store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Long> values) {
            addCriterion("store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Long value1, Long value2) {
            addCriterion("store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreNameIsNull() {
            addCriterion("store_name is null");
            return (Criteria) this;
        }

        public Criteria andStoreNameIsNotNull() {
            addCriterion("store_name is not null");
            return (Criteria) this;
        }

        public Criteria andStoreNameEqualTo(String value) {
            addCriterion("store_name =", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameNotEqualTo(String value) {
            addCriterion("store_name <>", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameGreaterThan(String value) {
            addCriterion("store_name >", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameGreaterThanOrEqualTo(String value) {
            addCriterion("store_name >=", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameLessThan(String value) {
            addCriterion("store_name <", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameLessThanOrEqualTo(String value) {
            addCriterion("store_name <=", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameLike(String value) {
            addCriterion("store_name like", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameNotLike(String value) {
            addCriterion("store_name not like", value, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameIn(List<String> values) {
            addCriterion("store_name in", values, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameNotIn(List<String> values) {
            addCriterion("store_name not in", values, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameBetween(String value1, String value2) {
            addCriterion("store_name between", value1, value2, "storeName");
            return (Criteria) this;
        }

        public Criteria andStoreNameNotBetween(String value1, String value2) {
            addCriterion("store_name not between", value1, value2, "storeName");
            return (Criteria) this;
        }

        public Criteria andFromUserIdIsNull() {
            addCriterion("from_user_id is null");
            return (Criteria) this;
        }

        public Criteria andFromUserIdIsNotNull() {
            addCriterion("from_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andFromUserIdEqualTo(Long value) {
            addCriterion("from_user_id =", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotEqualTo(Long value) {
            addCriterion("from_user_id <>", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdGreaterThan(Long value) {
            addCriterion("from_user_id >", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("from_user_id >=", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdLessThan(Long value) {
            addCriterion("from_user_id <", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdLessThanOrEqualTo(Long value) {
            addCriterion("from_user_id <=", value, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdIn(List<Long> values) {
            addCriterion("from_user_id in", values, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotIn(List<Long> values) {
            addCriterion("from_user_id not in", values, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdBetween(Long value1, Long value2) {
            addCriterion("from_user_id between", value1, value2, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotBetween(Long value1, Long value2) {
            addCriterion("from_user_id not between", value1, value2, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdIsNull() {
            addCriterion("from_hair_style_id is null");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdIsNotNull() {
            addCriterion("from_hair_style_id is not null");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdEqualTo(Long value) {
            addCriterion("from_hair_style_id =", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdNotEqualTo(Long value) {
            addCriterion("from_hair_style_id <>", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdGreaterThan(Long value) {
            addCriterion("from_hair_style_id >", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("from_hair_style_id >=", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdLessThan(Long value) {
            addCriterion("from_hair_style_id <", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdLessThanOrEqualTo(Long value) {
            addCriterion("from_hair_style_id <=", value, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdIn(List<Long> values) {
            addCriterion("from_hair_style_id in", values, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdNotIn(List<Long> values) {
            addCriterion("from_hair_style_id not in", values, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdBetween(Long value1, Long value2) {
            addCriterion("from_hair_style_id between", value1, value2, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andFromHairStyleIdNotBetween(Long value1, Long value2) {
            addCriterion("from_hair_style_id not between", value1, value2, "fromHairStyleId");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceIsNull() {
            addCriterion("settlement_price is null");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceIsNotNull() {
            addCriterion("settlement_price is not null");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceEqualTo(BigDecimal value) {
            addCriterion("settlement_price =", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceNotEqualTo(BigDecimal value) {
            addCriterion("settlement_price <>", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceGreaterThan(BigDecimal value) {
            addCriterion("settlement_price >", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("settlement_price >=", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceLessThan(BigDecimal value) {
            addCriterion("settlement_price <", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("settlement_price <=", value, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceIn(List<BigDecimal> values) {
            addCriterion("settlement_price in", values, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceNotIn(List<BigDecimal> values) {
            addCriterion("settlement_price not in", values, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("settlement_price between", value1, value2, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andSettlementPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("settlement_price not between", value1, value2, "settlementPrice");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitIsNull() {
            addCriterion("init_use_limit is null");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitIsNotNull() {
            addCriterion("init_use_limit is not null");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitEqualTo(Integer value) {
            addCriterion("init_use_limit =", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitNotEqualTo(Integer value) {
            addCriterion("init_use_limit <>", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitGreaterThan(Integer value) {
            addCriterion("init_use_limit >", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("init_use_limit >=", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitLessThan(Integer value) {
            addCriterion("init_use_limit <", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitLessThanOrEqualTo(Integer value) {
            addCriterion("init_use_limit <=", value, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitIn(List<Integer> values) {
            addCriterion("init_use_limit in", values, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitNotIn(List<Integer> values) {
            addCriterion("init_use_limit not in", values, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitBetween(Integer value1, Integer value2) {
            addCriterion("init_use_limit between", value1, value2, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andInitUseLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("init_use_limit not between", value1, value2, "initUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitIsNull() {
            addCriterion("current_use_limit is null");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitIsNotNull() {
            addCriterion("current_use_limit is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitEqualTo(Integer value) {
            addCriterion("current_use_limit =", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitNotEqualTo(Integer value) {
            addCriterion("current_use_limit <>", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitGreaterThan(Integer value) {
            addCriterion("current_use_limit >", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_use_limit >=", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitLessThan(Integer value) {
            addCriterion("current_use_limit <", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitLessThanOrEqualTo(Integer value) {
            addCriterion("current_use_limit <=", value, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitIn(List<Integer> values) {
            addCriterion("current_use_limit in", values, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitNotIn(List<Integer> values) {
            addCriterion("current_use_limit not in", values, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitBetween(Integer value1, Integer value2) {
            addCriterion("current_use_limit between", value1, value2, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andCurrentUseLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("current_use_limit not between", value1, value2, "currentUseLimit");
            return (Criteria) this;
        }

        public Criteria andAuthStatusIsNull() {
            addCriterion("auth_status is null");
            return (Criteria) this;
        }

        public Criteria andAuthStatusIsNotNull() {
            addCriterion("auth_status is not null");
            return (Criteria) this;
        }

        public Criteria andAuthStatusEqualTo(Integer value) {
            addCriterion("auth_status =", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusNotEqualTo(Integer value) {
            addCriterion("auth_status <>", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusGreaterThan(Integer value) {
            addCriterion("auth_status >", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("auth_status >=", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusLessThan(Integer value) {
            addCriterion("auth_status <", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusLessThanOrEqualTo(Integer value) {
            addCriterion("auth_status <=", value, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusIn(List<Integer> values) {
            addCriterion("auth_status in", values, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusNotIn(List<Integer> values) {
            addCriterion("auth_status not in", values, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusBetween(Integer value1, Integer value2) {
            addCriterion("auth_status between", value1, value2, "authStatus");
            return (Criteria) this;
        }

        public Criteria andAuthStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("auth_status not between", value1, value2, "authStatus");
            return (Criteria) this;
        }

        public Criteria andFreezeCountIsNull() {
            addCriterion("freeze_count is null");
            return (Criteria) this;
        }

        public Criteria andFreezeCountIsNotNull() {
            addCriterion("freeze_count is not null");
            return (Criteria) this;
        }

        public Criteria andFreezeCountEqualTo(Integer value) {
            addCriterion("freeze_count =", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountNotEqualTo(Integer value) {
            addCriterion("freeze_count <>", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountGreaterThan(Integer value) {
            addCriterion("freeze_count >", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("freeze_count >=", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountLessThan(Integer value) {
            addCriterion("freeze_count <", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountLessThanOrEqualTo(Integer value) {
            addCriterion("freeze_count <=", value, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountIn(List<Integer> values) {
            addCriterion("freeze_count in", values, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountNotIn(List<Integer> values) {
            addCriterion("freeze_count not in", values, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountBetween(Integer value1, Integer value2) {
            addCriterion("freeze_count between", value1, value2, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andFreezeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("freeze_count not between", value1, value2, "freezeCount");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIsNull() {
            addCriterion("refund_type is null");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIsNotNull() {
            addCriterion("refund_type is not null");
            return (Criteria) this;
        }

        public Criteria andRefundTypeEqualTo(Integer value) {
            addCriterion("refund_type =", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotEqualTo(Integer value) {
            addCriterion("refund_type <>", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeGreaterThan(Integer value) {
            addCriterion("refund_type >", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("refund_type >=", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeLessThan(Integer value) {
            addCriterion("refund_type <", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeLessThanOrEqualTo(Integer value) {
            addCriterion("refund_type <=", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIn(List<Integer> values) {
            addCriterion("refund_type in", values, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotIn(List<Integer> values) {
            addCriterion("refund_type not in", values, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeBetween(Integer value1, Integer value2) {
            addCriterion("refund_type between", value1, value2, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("refund_type not between", value1, value2, "refundType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}